package com.zyinhao.dao;

import com.zyinhao.entity.Product;

import java.util.List;

public interface ProductMapper {

    //这个方式我自己加的
    List<Product> selectAll();

    int deleteByPrimaryKey(String id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKeyWithBLOBs(Product record);

    int updateByPrimaryKey(Product record);
}